package com.hoshiicloud.saleorder.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * @author zhangshuhu
 * @version 1.0
 * @title: OrderQueryParam
 * @description: 订单列表分页查询参数
 * @date 2019/6/5 10:46
 * @mail maiboyc@163.com
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel
public class OrderQueryParam implements Serializable {

    private static final long serialVersionUID = -1L;

    /**
     * 状态
     */
    @ApiModelProperty(value = "状态 1-全部 2-待付款  3-待自提 4-已完成 5-已取消 6-待评价 7-售后")
    private Integer status;

    @ApiModelProperty(value = "用户id")
    private Long userId;

    // 条数
    @ApiModelProperty(value = "条数", example = "5")
    private String pageSize = "5";

    // 当前页
    @ApiModelProperty(value = "当前页", example = "1")
    private String pageNumber = "1";

    /**
     * oto 用户端订单列表状态条件
     */
    @ApiModelProperty(value ="99-全部  1-进行中 2-已完成 3-已取消")
    private Integer shippingStatus;

    /**
     * 扩展spuId
     */
    @ApiModelProperty(value = "扩展spuId")
    private Long spuId;


}
